package com.ctsi.organise.entity;

import java.io.Serializable;

/**
 * @author: zhangjw
 * @Date: 2018/11/11 18:19
 * @Description:
 */
public class Person_Organise implements Serializable {
    private static final long serialVersionUID = 3972384435909071362L;
    /**
     *组织结构层级关系的最低级
     */
    public static final int PERSON_ORGANISE_STRUCTLEVEL_YES=0;
    /**
     * 主键
     */
    private String id;
    /**
     * 人员ID
     */
    private String personId;
    /**
     * 组织ID
     */
    private String organId;
    /**
     * 相对顺序
     */
    private Integer orderNo;
    /**
     * 加入时间
     */
    private Long joinTime;
    /**
     * 用于记录当前人员一组的级别关系
     */
    private String structId;
    /**
     * 层级关系中的组织类型
     */
    private Integer partyTypeId;
    /**
     * 层级 0 表示最低级
     */
    private Integer structLevel;

    private Integer isDefaultOrgan;

    public Person_Organise() {
    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPersonId() {
        return this.personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getOrganId() {
        return this.organId;
    }

    public void setOrganId(String organId) {
        this.organId = organId;
    }

    public Integer getOrderNo() {
        return this.orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public Long getJoinTime() {
        return this.joinTime;
    }

    public void setJoinTime(Long joinTime) {
        this.joinTime = joinTime;
    }

    public String getStructId() {
        return this.structId;
    }

    public void setStructId(String structId) {
        this.structId = structId;
    }

    public Integer getPartyTypeId() {
        return this.partyTypeId;
    }

    public void setPartyTypeId(Integer partyTypeId) {
        this.partyTypeId = partyTypeId;
    }

    public Integer getStructLevel() {
        return this.structLevel;
    }

    public void setStructLevel(Integer structLevel) {
        this.structLevel = structLevel;
    }

    public Integer getIsDefaultOrgan() {
        return this.isDefaultOrgan;
    }

    public void setIsDefaultOrgan(Integer isDefaultOrgan) {
        this.isDefaultOrgan = isDefaultOrgan;
    }
}
